package com.jhgk.jhcee.auth.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class StudentRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public StudentRecordExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andRecordIdIsNull() {
            addCriterion("record_id is null");
            return (Criteria) this;
        }

        public Criteria andRecordIdIsNotNull() {
            addCriterion("record_id is not null");
            return (Criteria) this;
        }

        public Criteria andRecordIdEqualTo(Integer value) {
            addCriterion("record_id =", value, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdNotEqualTo(Integer value) {
            addCriterion("record_id <>", value, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdGreaterThan(Integer value) {
            addCriterion("record_id >", value, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("record_id >=", value, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdLessThan(Integer value) {
            addCriterion("record_id <", value, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdLessThanOrEqualTo(Integer value) {
            addCriterion("record_id <=", value, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdIn(List<Integer> values) {
            addCriterion("record_id in", values, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdNotIn(List<Integer> values) {
            addCriterion("record_id not in", values, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdBetween(Integer value1, Integer value2) {
            addCriterion("record_id between", value1, value2, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdNotBetween(Integer value1, Integer value2) {
            addCriterion("record_id not between", value1, value2, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordNameIsNull() {
            addCriterion("record_name is null");
            return (Criteria) this;
        }

        public Criteria andRecordNameIsNotNull() {
            addCriterion("record_name is not null");
            return (Criteria) this;
        }

        public Criteria andRecordNameEqualTo(String value) {
            addCriterion("record_name =", value, "recordName");
            return (Criteria) this;
        }

        public Criteria andRecordNameNotEqualTo(String value) {
            addCriterion("record_name <>", value, "recordName");
            return (Criteria) this;
        }

        public Criteria andRecordNameGreaterThan(String value) {
            addCriterion("record_name >", value, "recordName");
            return (Criteria) this;
        }

        public Criteria andRecordNameGreaterThanOrEqualTo(String value) {
            addCriterion("record_name >=", value, "recordName");
            return (Criteria) this;
        }

        public Criteria andRecordNameLessThan(String value) {
            addCriterion("record_name <", value, "recordName");
            return (Criteria) this;
        }

        public Criteria andRecordNameLessThanOrEqualTo(String value) {
            addCriterion("record_name <=", value, "recordName");
            return (Criteria) this;
        }

        public Criteria andRecordNameLike(String value) {
            addCriterion("record_name like", value, "recordName");
            return (Criteria) this;
        }

        public Criteria andRecordNameNotLike(String value) {
            addCriterion("record_name not like", value, "recordName");
            return (Criteria) this;
        }

        public Criteria andRecordNameIn(List<String> values) {
            addCriterion("record_name in", values, "recordName");
            return (Criteria) this;
        }

        public Criteria andRecordNameNotIn(List<String> values) {
            addCriterion("record_name not in", values, "recordName");
            return (Criteria) this;
        }

        public Criteria andRecordNameBetween(String value1, String value2) {
            addCriterion("record_name between", value1, value2, "recordName");
            return (Criteria) this;
        }

        public Criteria andRecordNameNotBetween(String value1, String value2) {
            addCriterion("record_name not between", value1, value2, "recordName");
            return (Criteria) this;
        }

        public Criteria andStudentInfoIdIsNull() {
            addCriterion("student_info_id is null");
            return (Criteria) this;
        }

        public Criteria andStudentInfoIdIsNotNull() {
            addCriterion("student_info_id is not null");
            return (Criteria) this;
        }

        public Criteria andStudentInfoIdEqualTo(Integer value) {
            addCriterion("student_info_id =", value, "studentInfoId");
            return (Criteria) this;
        }

        public Criteria andStudentInfoIdNotEqualTo(Integer value) {
            addCriterion("student_info_id <>", value, "studentInfoId");
            return (Criteria) this;
        }

        public Criteria andStudentInfoIdGreaterThan(Integer value) {
            addCriterion("student_info_id >", value, "studentInfoId");
            return (Criteria) this;
        }

        public Criteria andStudentInfoIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("student_info_id >=", value, "studentInfoId");
            return (Criteria) this;
        }

        public Criteria andStudentInfoIdLessThan(Integer value) {
            addCriterion("student_info_id <", value, "studentInfoId");
            return (Criteria) this;
        }

        public Criteria andStudentInfoIdLessThanOrEqualTo(Integer value) {
            addCriterion("student_info_id <=", value, "studentInfoId");
            return (Criteria) this;
        }

        public Criteria andStudentInfoIdIn(List<Integer> values) {
            addCriterion("student_info_id in", values, "studentInfoId");
            return (Criteria) this;
        }

        public Criteria andStudentInfoIdNotIn(List<Integer> values) {
            addCriterion("student_info_id not in", values, "studentInfoId");
            return (Criteria) this;
        }

        public Criteria andStudentInfoIdBetween(Integer value1, Integer value2) {
            addCriterion("student_info_id between", value1, value2, "studentInfoId");
            return (Criteria) this;
        }

        public Criteria andStudentInfoIdNotBetween(Integer value1, Integer value2) {
            addCriterion("student_info_id not between", value1, value2, "studentInfoId");
            return (Criteria) this;
        }

        public Criteria andProfessionDirectionIsNull() {
            addCriterion("profession_direction is null");
            return (Criteria) this;
        }

        public Criteria andProfessionDirectionIsNotNull() {
            addCriterion("profession_direction is not null");
            return (Criteria) this;
        }

        public Criteria andProfessionDirectionEqualTo(String value) {
            addCriterion("profession_direction =", value, "professionDirection");
            return (Criteria) this;
        }

        public Criteria andProfessionDirectionNotEqualTo(String value) {
            addCriterion("profession_direction <>", value, "professionDirection");
            return (Criteria) this;
        }

        public Criteria andProfessionDirectionGreaterThan(String value) {
            addCriterion("profession_direction >", value, "professionDirection");
            return (Criteria) this;
        }

        public Criteria andProfessionDirectionGreaterThanOrEqualTo(String value) {
            addCriterion("profession_direction >=", value, "professionDirection");
            return (Criteria) this;
        }

        public Criteria andProfessionDirectionLessThan(String value) {
            addCriterion("profession_direction <", value, "professionDirection");
            return (Criteria) this;
        }

        public Criteria andProfessionDirectionLessThanOrEqualTo(String value) {
            addCriterion("profession_direction <=", value, "professionDirection");
            return (Criteria) this;
        }

        public Criteria andProfessionDirectionLike(String value) {
            addCriterion("profession_direction like", value, "professionDirection");
            return (Criteria) this;
        }

        public Criteria andProfessionDirectionNotLike(String value) {
            addCriterion("profession_direction not like", value, "professionDirection");
            return (Criteria) this;
        }

        public Criteria andProfessionDirectionIn(List<String> values) {
            addCriterion("profession_direction in", values, "professionDirection");
            return (Criteria) this;
        }

        public Criteria andProfessionDirectionNotIn(List<String> values) {
            addCriterion("profession_direction not in", values, "professionDirection");
            return (Criteria) this;
        }

        public Criteria andProfessionDirectionBetween(String value1, String value2) {
            addCriterion("profession_direction between", value1, value2, "professionDirection");
            return (Criteria) this;
        }

        public Criteria andProfessionDirectionNotBetween(String value1, String value2) {
            addCriterion("profession_direction not between", value1, value2, "professionDirection");
            return (Criteria) this;
        }

        public Criteria andSubjectIsNull() {
            addCriterion("subject is null");
            return (Criteria) this;
        }

        public Criteria andSubjectIsNotNull() {
            addCriterion("subject is not null");
            return (Criteria) this;
        }

        public Criteria andSubjectEqualTo(String value) {
            addCriterion("subject =", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectNotEqualTo(String value) {
            addCriterion("subject <>", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectGreaterThan(String value) {
            addCriterion("subject >", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectGreaterThanOrEqualTo(String value) {
            addCriterion("subject >=", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectLessThan(String value) {
            addCriterion("subject <", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectLessThanOrEqualTo(String value) {
            addCriterion("subject <=", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectLike(String value) {
            addCriterion("subject like", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectNotLike(String value) {
            addCriterion("subject not like", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectIn(List<String> values) {
            addCriterion("subject in", values, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectNotIn(List<String> values) {
            addCriterion("subject not in", values, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectBetween(String value1, String value2) {
            addCriterion("subject between", value1, value2, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectNotBetween(String value1, String value2) {
            addCriterion("subject not between", value1, value2, "subject");
            return (Criteria) this;
        }

        public Criteria andRecordYearIsNull() {
            addCriterion("record_year is null");
            return (Criteria) this;
        }

        public Criteria andRecordYearIsNotNull() {
            addCriterion("record_year is not null");
            return (Criteria) this;
        }

        public Criteria andRecordYearEqualTo(Integer value) {
            addCriterion("record_year =", value, "recordYear");
            return (Criteria) this;
        }

        public Criteria andRecordYearNotEqualTo(Integer value) {
            addCriterion("record_year <>", value, "recordYear");
            return (Criteria) this;
        }

        public Criteria andRecordYearGreaterThan(Integer value) {
            addCriterion("record_year >", value, "recordYear");
            return (Criteria) this;
        }

        public Criteria andRecordYearGreaterThanOrEqualTo(Integer value) {
            addCriterion("record_year >=", value, "recordYear");
            return (Criteria) this;
        }

        public Criteria andRecordYearLessThan(Integer value) {
            addCriterion("record_year <", value, "recordYear");
            return (Criteria) this;
        }

        public Criteria andRecordYearLessThanOrEqualTo(Integer value) {
            addCriterion("record_year <=", value, "recordYear");
            return (Criteria) this;
        }

        public Criteria andRecordYearIn(List<Integer> values) {
            addCriterion("record_year in", values, "recordYear");
            return (Criteria) this;
        }

        public Criteria andRecordYearNotIn(List<Integer> values) {
            addCriterion("record_year not in", values, "recordYear");
            return (Criteria) this;
        }

        public Criteria andRecordYearBetween(Integer value1, Integer value2) {
            addCriterion("record_year between", value1, value2, "recordYear");
            return (Criteria) this;
        }

        public Criteria andRecordYearNotBetween(Integer value1, Integer value2) {
            addCriterion("record_year not between", value1, value2, "recordYear");
            return (Criteria) this;
        }

        public Criteria andIsGaokaoIsNull() {
            addCriterion("is_gaokao is null");
            return (Criteria) this;
        }

        public Criteria andIsGaokaoIsNotNull() {
            addCriterion("is_gaokao is not null");
            return (Criteria) this;
        }

        public Criteria andIsGaokaoEqualTo(String value) {
            addCriterion("is_gaokao =", value, "isGaokao");
            return (Criteria) this;
        }

        public Criteria andIsGaokaoNotEqualTo(String value) {
            addCriterion("is_gaokao <>", value, "isGaokao");
            return (Criteria) this;
        }

        public Criteria andIsGaokaoGreaterThan(String value) {
            addCriterion("is_gaokao >", value, "isGaokao");
            return (Criteria) this;
        }

        public Criteria andIsGaokaoGreaterThanOrEqualTo(String value) {
            addCriterion("is_gaokao >=", value, "isGaokao");
            return (Criteria) this;
        }

        public Criteria andIsGaokaoLessThan(String value) {
            addCriterion("is_gaokao <", value, "isGaokao");
            return (Criteria) this;
        }

        public Criteria andIsGaokaoLessThanOrEqualTo(String value) {
            addCriterion("is_gaokao <=", value, "isGaokao");
            return (Criteria) this;
        }

        public Criteria andIsGaokaoLike(String value) {
            addCriterion("is_gaokao like", value, "isGaokao");
            return (Criteria) this;
        }

        public Criteria andIsGaokaoNotLike(String value) {
            addCriterion("is_gaokao not like", value, "isGaokao");
            return (Criteria) this;
        }

        public Criteria andIsGaokaoIn(List<String> values) {
            addCriterion("is_gaokao in", values, "isGaokao");
            return (Criteria) this;
        }

        public Criteria andIsGaokaoNotIn(List<String> values) {
            addCriterion("is_gaokao not in", values, "isGaokao");
            return (Criteria) this;
        }

        public Criteria andIsGaokaoBetween(String value1, String value2) {
            addCriterion("is_gaokao between", value1, value2, "isGaokao");
            return (Criteria) this;
        }

        public Criteria andIsGaokaoNotBetween(String value1, String value2) {
            addCriterion("is_gaokao not between", value1, value2, "isGaokao");
            return (Criteria) this;
        }

        public Criteria andRealScoreIsNull() {
            addCriterion("real_score is null");
            return (Criteria) this;
        }

        public Criteria andRealScoreIsNotNull() {
            addCriterion("real_score is not null");
            return (Criteria) this;
        }

        public Criteria andRealScoreEqualTo(Integer value) {
            addCriterion("real_score =", value, "realScore");
            return (Criteria) this;
        }

        public Criteria andRealScoreNotEqualTo(Integer value) {
            addCriterion("real_score <>", value, "realScore");
            return (Criteria) this;
        }

        public Criteria andRealScoreGreaterThan(Integer value) {
            addCriterion("real_score >", value, "realScore");
            return (Criteria) this;
        }

        public Criteria andRealScoreGreaterThanOrEqualTo(Integer value) {
            addCriterion("real_score >=", value, "realScore");
            return (Criteria) this;
        }

        public Criteria andRealScoreLessThan(Integer value) {
            addCriterion("real_score <", value, "realScore");
            return (Criteria) this;
        }

        public Criteria andRealScoreLessThanOrEqualTo(Integer value) {
            addCriterion("real_score <=", value, "realScore");
            return (Criteria) this;
        }

        public Criteria andRealScoreIn(List<Integer> values) {
            addCriterion("real_score in", values, "realScore");
            return (Criteria) this;
        }

        public Criteria andRealScoreNotIn(List<Integer> values) {
            addCriterion("real_score not in", values, "realScore");
            return (Criteria) this;
        }

        public Criteria andRealScoreBetween(Integer value1, Integer value2) {
            addCriterion("real_score between", value1, value2, "realScore");
            return (Criteria) this;
        }

        public Criteria andRealScoreNotBetween(Integer value1, Integer value2) {
            addCriterion("real_score not between", value1, value2, "realScore");
            return (Criteria) this;
        }

        public Criteria andExtraPlusScoreIsNull() {
            addCriterion("extra_plus_score is null");
            return (Criteria) this;
        }

        public Criteria andExtraPlusScoreIsNotNull() {
            addCriterion("extra_plus_score is not null");
            return (Criteria) this;
        }

        public Criteria andExtraPlusScoreEqualTo(Integer value) {
            addCriterion("extra_plus_score =", value, "extraPlusScore");
            return (Criteria) this;
        }

        public Criteria andExtraPlusScoreNotEqualTo(Integer value) {
            addCriterion("extra_plus_score <>", value, "extraPlusScore");
            return (Criteria) this;
        }

        public Criteria andExtraPlusScoreGreaterThan(Integer value) {
            addCriterion("extra_plus_score >", value, "extraPlusScore");
            return (Criteria) this;
        }

        public Criteria andExtraPlusScoreGreaterThanOrEqualTo(Integer value) {
            addCriterion("extra_plus_score >=", value, "extraPlusScore");
            return (Criteria) this;
        }

        public Criteria andExtraPlusScoreLessThan(Integer value) {
            addCriterion("extra_plus_score <", value, "extraPlusScore");
            return (Criteria) this;
        }

        public Criteria andExtraPlusScoreLessThanOrEqualTo(Integer value) {
            addCriterion("extra_plus_score <=", value, "extraPlusScore");
            return (Criteria) this;
        }

        public Criteria andExtraPlusScoreIn(List<Integer> values) {
            addCriterion("extra_plus_score in", values, "extraPlusScore");
            return (Criteria) this;
        }

        public Criteria andExtraPlusScoreNotIn(List<Integer> values) {
            addCriterion("extra_plus_score not in", values, "extraPlusScore");
            return (Criteria) this;
        }

        public Criteria andExtraPlusScoreBetween(Integer value1, Integer value2) {
            addCriterion("extra_plus_score between", value1, value2, "extraPlusScore");
            return (Criteria) this;
        }

        public Criteria andExtraPlusScoreNotBetween(Integer value1, Integer value2) {
            addCriterion("extra_plus_score not between", value1, value2, "extraPlusScore");
            return (Criteria) this;
        }

        public Criteria andEquivalentLastYearScoreIsNull() {
            addCriterion("equivalent_last_year_score is null");
            return (Criteria) this;
        }

        public Criteria andEquivalentLastYearScoreIsNotNull() {
            addCriterion("equivalent_last_year_score is not null");
            return (Criteria) this;
        }

        public Criteria andEquivalentLastYearScoreEqualTo(Integer value) {
            addCriterion("equivalent_last_year_score =", value, "equivalentLastYearScore");
            return (Criteria) this;
        }

        public Criteria andEquivalentLastYearScoreNotEqualTo(Integer value) {
            addCriterion("equivalent_last_year_score <>", value, "equivalentLastYearScore");
            return (Criteria) this;
        }

        public Criteria andEquivalentLastYearScoreGreaterThan(Integer value) {
            addCriterion("equivalent_last_year_score >", value, "equivalentLastYearScore");
            return (Criteria) this;
        }

        public Criteria andEquivalentLastYearScoreGreaterThanOrEqualTo(Integer value) {
            addCriterion("equivalent_last_year_score >=", value, "equivalentLastYearScore");
            return (Criteria) this;
        }

        public Criteria andEquivalentLastYearScoreLessThan(Integer value) {
            addCriterion("equivalent_last_year_score <", value, "equivalentLastYearScore");
            return (Criteria) this;
        }

        public Criteria andEquivalentLastYearScoreLessThanOrEqualTo(Integer value) {
            addCriterion("equivalent_last_year_score <=", value, "equivalentLastYearScore");
            return (Criteria) this;
        }

        public Criteria andEquivalentLastYearScoreIn(List<Integer> values) {
            addCriterion("equivalent_last_year_score in", values, "equivalentLastYearScore");
            return (Criteria) this;
        }

        public Criteria andEquivalentLastYearScoreNotIn(List<Integer> values) {
            addCriterion("equivalent_last_year_score not in", values, "equivalentLastYearScore");
            return (Criteria) this;
        }

        public Criteria andEquivalentLastYearScoreBetween(Integer value1, Integer value2) {
            addCriterion("equivalent_last_year_score between", value1, value2, "equivalentLastYearScore");
            return (Criteria) this;
        }

        public Criteria andEquivalentLastYearScoreNotBetween(Integer value1, Integer value2) {
            addCriterion("equivalent_last_year_score not between", value1, value2, "equivalentLastYearScore");
            return (Criteria) this;
        }

        public Criteria andRecordContentIsNull() {
            addCriterion("record_content is null");
            return (Criteria) this;
        }

        public Criteria andRecordContentIsNotNull() {
            addCriterion("record_content is not null");
            return (Criteria) this;
        }

        public Criteria andRecordContentEqualTo(String value) {
            addCriterion("record_content =", value, "recordContent");
            return (Criteria) this;
        }

        public Criteria andRecordContentNotEqualTo(String value) {
            addCriterion("record_content <>", value, "recordContent");
            return (Criteria) this;
        }

        public Criteria andRecordContentGreaterThan(String value) {
            addCriterion("record_content >", value, "recordContent");
            return (Criteria) this;
        }

        public Criteria andRecordContentGreaterThanOrEqualTo(String value) {
            addCriterion("record_content >=", value, "recordContent");
            return (Criteria) this;
        }

        public Criteria andRecordContentLessThan(String value) {
            addCriterion("record_content <", value, "recordContent");
            return (Criteria) this;
        }

        public Criteria andRecordContentLessThanOrEqualTo(String value) {
            addCriterion("record_content <=", value, "recordContent");
            return (Criteria) this;
        }

        public Criteria andRecordContentLike(String value) {
            addCriterion("record_content like", value, "recordContent");
            return (Criteria) this;
        }

        public Criteria andRecordContentNotLike(String value) {
            addCriterion("record_content not like", value, "recordContent");
            return (Criteria) this;
        }

        public Criteria andRecordContentIn(List<String> values) {
            addCriterion("record_content in", values, "recordContent");
            return (Criteria) this;
        }

        public Criteria andRecordContentNotIn(List<String> values) {
            addCriterion("record_content not in", values, "recordContent");
            return (Criteria) this;
        }

        public Criteria andRecordContentBetween(String value1, String value2) {
            addCriterion("record_content between", value1, value2, "recordContent");
            return (Criteria) this;
        }

        public Criteria andRecordContentNotBetween(String value1, String value2) {
            addCriterion("record_content not between", value1, value2, "recordContent");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}